POV-Ray : Newsgroups : povray.general : NURBS as mesh2{} objects : Re: NURBS as mesh2{} objects Server Time
6 Aug 2024 10:26:52 EDT (-0400)
  Re: NURBS as mesh2{} objects  
From:
Date: 28 Mar 2002 03:13:29
Message: <j1k5aukpud9bb59p5c4mokhcigkmf5hv84@4ax.com>
On Wed, 27 Mar 2002 23:54:40 +0100, "Tor Olav Kristensen"
<tor### [at] hotmailcom> wrote:
> Note that in order to optimize the declarations of the
> functions, my code makes some of the expressions
> look very obfuscated.

btw Tor, have you tried parametric sourface for those NURBS ?
I wonder how slow it could be (probably very) and hom much memory it could
use.

ABX
--
disc{z,-z#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;5pigment{#local g=function(_){ceil(_)-_}function#local
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e)<O(),O()//35
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.